package com.margo.project.zookeeper.config;

/**
 * 	分布式锁
 * @author fangxingbang
 *
 */
public interface ZookeeperLock {
	void lock(String ownedArea);
	boolean tryLock(String ownedArea);
	void unlock(String ownedArea);
	void waitLock(String ownedArea);
}
